package com.dundun.pattern.template;

public abstract class AbstractDisplay {

    protected abstract void open();
    protected abstract void print();
    protected abstract void close();

    public final void display() {
        open();
        print();
        print();
        close();
    }
}
